﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Player : Father
    {
        private int playerhand;
        public int Playerhand { get => playerhand; set => playerhand = value; }
        public void PlayerHand(string name)
        {
        aa:
            Playerhand = int.Parse(Console.ReadLine());
            switch (Playerhand)
            {
                case 1:
               
                    Console.WriteLine(name + " : 出拳： " + (Rule)Playerhand);

                    break;
                case 2:
                
                    Console.WriteLine(name + " : 出拳： " + (Rule)Playerhand);

                    break;
                case 3:
                 
                    Console.WriteLine(name + " : 出拳： " + (Rule)Playerhand);
                    break;
                default:
                    Console.WriteLine("输入错误请重新输入");
                    goto aa;
                    break;
            }
        }
    }
}
